include_directories(.)

aux_source_directory(. SRC_MSG)
aux_source_directory(rpc SRC_MSG_RPC)
aux_source_directory(notify SRC_MSG_NOTIFY)
aux_source_directory(executors SRC_MSG_EXECUTORS)
aux_source_directory(drivers SRC_MSG_DRIVERS)
aux_source_directory(drivers/hiredis SRC_MSG_DRIVERS_HIREDIS)

add_library(eaglet-messaging SHARED ${SRC_MSG} ${SRC_MSG_RPC} ${SRC_MSG_NOTIFY} ${SRC_MSG_EXECUTORS}
        ${SRC_MSG_DRIVERS} ${SRC_MSG_DRIVERS_HIREDIS})
